<template>
	<view>{{num1}}</view>
	<view>{{num2}}</view>
	<view>{{test}}</view>
	<view>{{arr[2]}}</view>
	<view>{{obj.name}}</view>
</template>

<script setup>
	import{ref} from "vue"; 
let num1 = 6;


let num2 = ref(10)
// setInterval(()=>{
// 	num2.value++;
// 	console.log(num2.value)
// },1000)
// console.log(num2.value)
// console.log(num1)
let test = ref("雷雪雯呢")
let arr = ref([1,2,3,4])
let obj = ref({name:'王五',age:18})
obj.value.name = "雷大"
</script>

<style>

</style>
